using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;

namespace Impact.Infrastructure.Logging
{
    /// <summary>
    /// interface all logging agents must implement.
    /// </summary>
    public interface ILogger
    {

        /// <summary>
        /// Writes the given message to the logging listeners
        /// </summary>
        void Write(string message);

        /// <summary>
        /// Writes the given message to the logging listeners
        /// </summary>
        void Write(string message, TraceEventType severity);

        /// <summary>
        /// Writes the given exception to the logging listeners
        /// </summary>
        void Write(Exception ex);



    }
}
